<<<<<<< HEAD
function emphasized_signal=pre_emphasis(signal)
pre_emphasis = 0.97;

signal1=zeros(size(signal));
signal1(2:end)=pre_emphasis * signal(1:end-1);
emphasized_signal = signal-signal1;

end
=======
function emphasized_signal=pre_emphasis(signal)
pre_emphasis = 0.97;

signal1=zeros(size(signal));
signal1(2:end)=pre_emphasis * signal(1:end-1);
emphasized_signal = signal-signal1;

end
>>>>>>> dd81f2d (bug fix and add  fold tests)
